Browse Source

* up docker-compose example

master
Alexander Demidov 4 years ago
parent
commit
2a88fe11f2
  1. 16
      docker-compose.yml.example

16
docker-compose.yml.example

@ -22,17 +22,20 @@ services:
file: docker-compose.base.yml file: docker-compose.base.yml
service: workspace service: workspace
build: build:
context: ./dockerfiles/workspace73
dockerfile: workspace73.Dockerfile
workspace74: workspace74:
extends: extends:
file: docker-compose.base.yml file: docker-compose.base.yml
service: workspace service: workspace
build: build:
context: ./dockerfiles/workspace74
dockerfile: workspace74.Dockerfile
db: db:
extends: extends:
file: docker-compose.base.yml file: docker-compose.base.yml
service: db service: db
volumes:
- database:/var/lib/mysql
- ./hostfiles:/hostfiles
pma: pma:
extends: extends:
file: docker-compose.base.yml file: docker-compose.base.yml
@ -41,6 +44,15 @@ services:
extends: extends:
file: docker-compose.base.yml file: docker-compose.base.yml
service: redis service: redis
redis-salvoterra:
extends:
file: docker-compose.base.yml
service: redis
restart: on-failure
redis-allislam:
extends:
file: docker-compose.base.yml
service: redis
volumes: volumes:
database: database:

Loading…
Cancel
Save