Реорганизация контейнеров в compose файлах

This commit is contained in:
ErickSkrauch 2016-10-06 00:38:53 +03:00
parent 4bcd0495ed
commit e8a7008e11
3 changed files with 7 additions and 12 deletions

View File

@ -1,11 +1,7 @@
version: '2'
services:
app:
ports:
- "80:80"
redis:
image: redis:3.0
image: redis:3.0-alpine
volumes:
- ./data/redis:/data

View File

@ -1,10 +1,10 @@
version: '2'
services:
app:
extends:
file: docker-compose.base.yml
service: app
build: .
image: registry.gitlab.com/elyby/skinsystem:latest
ports:
- "80:80"
volumes:
- ./:/go/src/app
command: ["go", "run", "minecraft-skinsystem.go"]

View File

@ -1,10 +1,9 @@
version: '2'
services:
app:
extends:
file: docker-compose.base.yml
service: app
image: erickskrauch/ely-by-skinsystem:master
image: registry.gitlab.com/elyby/skinsystem:latest
ports:
- "80:80"
links:
- redis
- rabbitmq