Skip to content

Commit 5a7ab53

Browse files
committed
Add the assignment to use Docker configs
[refs #2fed0ac6a5b6]
1 parent b2af6f8 commit 5a7ab53

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

swarm/assignment4.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Make use of configurations
2+
* Replace the image for the db service
3+
* Use `postgres:9.6-alpine`
4+
* Keep the environment variables
5+
* Mount the attached SQL file to `/docker-entrypoint-initdb.d/create_table.sql`
6+
* Make sure that no other service publishes port 80
7+
* Deploy the stack
8+
* Use a new stack name if you previously deployed it
9+
* Or delete the volumes from the node

0 commit comments

Comments
 (0)