You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: code/episodes/docker-compose-microservices.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ volumes:
56
56
Image: Apperture Services: Showing a user accessing WhoAmI via the web portal, which is protected by Authelia, which authenticates against an LDAP server, which pulls user data from a Postgres database.
@@ -52,7 +52,7 @@ It is maintained by the University of Manchester's Research IT team, and can eas
52
52
`Apperture` is comprised primarily of a compose file.
53
53
Just like we have been looking at!
54
54
55
-
The full `docker-compose.yml` file is available [on github](https://raw.githubusercontent.com/UoMResearchIT/apperture/refs/heads/main/docker-compose.yml).
55
+
The full `compose.yml` file is available [on github](https://raw.githubusercontent.com/UoMResearchIT/apperture/refs/heads/main/docker-compose.yml).
56
56
It is quite long, so we will reproduce a slimmed down version here.
57
57
58
58
```yml
@@ -105,15 +105,15 @@ volumes:
105
105
lldap-postgres-data:
106
106
```
107
107
108
-
This `docker-compose.yml` file is a little more complex than the ones we have been looking at so far, but it is still just a list of services and their configurations.
108
+
This `compose.yml` file is a little more complex than the ones we have been looking at so far, but it is still just a list of services and their configurations.
109
109
110
110
You'll see some familiar things, like `image`, `ports`, `depends_on` (and `healthchecks`), `volumes`, and `environment`.
111
111
112
-
Notice the `image` field in the `services` section of the `docker-compose.yml` file.
112
+
Notice the `image` field in the `services` section of the `compose.yml` file.
113
113
Every service is using a pre-built Docker image from Docker Hub, straight off the shelf!
114
114
This is the power of Docker Compose and microservices!
115
115
116
-
To get an idea of what is going on, let's draw a diagram of the services in the `docker-compose.yml` file.
116
+
To get an idea of what is going on, let's draw a diagram of the services in the `compose.yml` file.
117
117
118
118
{alt='Apperture Services: Showing a user accessing WhoAmI via the web portal, which is protected by Authelia, which authenticates against an LDAP server, which pulls user data from a Postgres database.'}
119
119
@@ -128,13 +128,13 @@ There is no reason we cannot combine the Apperture stack with the SPUC stack we
128
128
This would allow us to protect our SPUC interface with the Apperture portal.
129
129
An important addition! We need to ensure poachers cannot falsely record sightings of the rare yet valuable unicorns!
130
130
131
-
This can be achieved by making a couple of changes to the SPUC `docker-compose.yml` file.
131
+
This can be achieved by making a couple of changes to the SPUC `compose.yml` file.
132
132
133
133
In our previous lesson, we learned about networks, which allow services to communicate with each other.
134
134
Now we want join the networks of the SPUC and Apperture stacks so that they can communicate with each other.
0 commit comments