-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
33 lines (30 loc) · 1.02 KB
/
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
version: "3"
services:
main_site_db:
image: "postgres"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: main_site
ports:
- 8080:5432
volumes:
- ./main_site_1/postgres-data:/var/lib/postgresql/data/
site_2:
image: mcr.microsoft.com/mssql/server:2019-latest
restart: always
ports:
- 8081:1433
volumes:
- ./site_2/mssql-data:/var/lib/mssqlql
env_file:
- site_2/mssql.env
site_3:
image: mysql
restart: always
env_file:
- site_3/mysql.env
ports:
- 3306:3306
volumes:
- ./site_3/mysql-data:/var/lib/mysql