forked from va-net/flare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (44 loc) · 1.11 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
34
35
36
37
38
39
40
41
42
43
44
45
46
version: '3.7'
services:
app:
build:
context: ./
dockerfile: Dockerfile
image: flare
container_name: flare-app
restart: unless-stopped
working_dir: /var/www/
networks:
- flare
ports:
- 80:80
depends_on:
- db
environment:
FLARE_MYSQL_HOST: db
FLARE_MYSQL_USERNAME: flare
FLARE_MYSQL_PASSWORD: flare
FLARE_MYSQL_DB: flare
FLARE_MYSQL_PORT: 3306
FLARE_VA_NAME: ${VA_NAME}
FLARE_VA_IDENTIFIER: ${VA_IDENT}
FLARE_VANET_API_KEY: ${API_KEY}
FLARE_SITE_COLOUR_MAIN_HEX: '#FF7E00'
db:
image: mysql:5.7
container_name: flare-db
restart: unless-stopped
environment:
MYSQL_DATABASE: flare
MYSQL_ROOT_PASSWORD: flare
MYSQL_PASSWORD: flare
MYSQL_USER: flare
networks:
- flare
volumes:
- flare-mysql:/var/lib/mysql
networks:
flare:
driver: bridge
volumes:
flare-mysql: