-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.backup.yml
53 lines (51 loc) · 1.1 KB
/
docker-compose.backup.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
51
52
53
version: '3.4'
services:
grot-mysql:
container_name: grot-mysql
restart: always
image: mysql
ports:
- 3306:3306
volumes:
- ./test-sql-2:/docker-entrypoint-initdb.d
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: grot
MYSQL_USER: grot
MYSQL_PASSWORD: grot
grotmigrations:
container_name: grotmigrations
image: ${DOCKER_REGISTRY-}grotmigrations
links:
- grot-mysql
build:
context: .
dockerfile: GrotMigrations/Dockerfile
depends_on:
- grot-mysql
grotwebapi:
container_name: grotapi
image: ${DOCKER_REGISTRY-}grotwebapi
links:
- grot-mysql
build:
context: .
dockerfile: GrotWebApi/Dockerfile
ports:
- "80"
grot-front:
container_name: grot-front
image: ${DOCKER_REGISTRY-}grot-front
links:
- grotwebapi
environment:
- ENV_BACKEND_URI='http://grotapi/api'
- ENV_IS_PRODUCTION=false
build:
context: .
dockerfile: grot-front/Dockerfile
depends_on:
- grotwebapi
ports:
- "80:80"
- "443:443"