Skip to content

Commit

Permalink
Fix docker-compose syntax (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniele Ricci <[email protected]>
  • Loading branch information
daniele-athome committed Nov 20, 2018
1 parent 1583b50 commit a7d7aa4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
# You may run this stack through `docker stack deploy -c docker-compose.yml <instance_name>`
# or use `./launcher start` if you want a more powerful tool

version: '3'
version: '3.3'

services:
db:
image: mysql:5.6
volumes:
- db_data:/var/lib/mysql
configs:
- ./mysql/my.cnf:/etc/mysql/conf.d/my.cnf
restart: on-failure
- source: ./mysql/my.cnf
target: /etc/mysql/conf.d/my.cnf
environment:
- MYSQL_DATABASE=kontalk
- MYSQL_USER=kontalk
Expand All @@ -29,8 +29,8 @@ services:
volumes:
- xmpp_data:/home/kontalk/data
configs:
- ./config:/tmp/data
restart: on-failure
- source: ./config
target: /tmp/data
logging:
options:
max-size: "10m"
Expand All @@ -57,8 +57,8 @@ services:
volumes:
- httpupload_data:/home/kontalk/disk
configs:
- ./config/config.yml.in:/tmp/config.yml.in
restart: on-failure
- source: ./config/config.yml.in
target: /tmp/config.yml.in
logging:
options:
max-size: "10m"
Expand Down

0 comments on commit a7d7aa4

Please sign in to comment.