forked from ProgettoArchimista/archimista
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
50 lines (45 loc) · 1002 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: '3'
services:
# dbPg:
# image: postgres:9.4.5
# environment:
# POSTGRES_PASSWORD: generic_password
# ports:
# - '5433:5432'
# volumes:
# - archimista-postgres:/var/lib/postgresql/data
# container_name:
# dbPg
# networks:
# new:
dbMy:
image: mysql:5.7.21
environment:
MYSQL_ROOT_PASSWORD: generic_password
ports:
- '3307:3306'
volumes:
- archimista-mysql:/var/lib/mysql
container_name:
dbMy
networks:
new:
web:
build: .
volumes:
- archimista-webapp:/home/app/webapp
ports:
- "81:80"
depends_on:
# - dbPg
- dbMy
container_name:
web
networks:
new:
volumes:
# archimista-postgres:
archimista-mysql:
archimista-webapp:
networks:
new: