Skip to content

Commit c97795f

Browse files
comments: give simple example instructions for compose and swarm
1 parent e560ec6 commit c97795f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docker-cloud.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
version: '3.1'
22

3+
# run with docker-compose:
4+
#
5+
# docker-compose -f docker-cloud.yml up
6+
7+
# run with docker swarm:
8+
#
9+
# docker swarm init
10+
# docker stack deploy --compose-file docker-cloud.yml authdemo
11+
312
volumes:
413
web-data:
514

0 commit comments

Comments
 (0)