-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (43 loc) · 965 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
47 lines (43 loc) · 965 Bytes
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
version: '3'
services:
web:
container_name: web
build:
context: .
dockerfile: Dockerfile
ports:
- "80:80"
- "443:443"
- "8080:8080"
networks:
- main
depends_on:
- db
volumes:
- ./.encryptedFiles:/encryptedFiles
- /etc/letsencrypt:/letsencrypt:ro
- ./.wellKnown:/wellKnown:ro
env_file:
- envVariables.env
- ssl.env
db:
container_name: db
image: mysql
volumes:
- ./.mysqlSetup:/docker-entrypoint-initdb.d/:ro
- ./.mysql:/var/lib/mysql
networks:
- main
hostname: "db"
env_file:
- envVariables.env
ports:
- "3306:3306"
volumes:
.mysql:
.encryptedFiles:
.certificates:
.mysqlSetup:
.wellKnown:
networks:
main: