-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (51 loc) · 1.03 KB
/
docker-compose.yml
File metadata and controls
56 lines (51 loc) · 1.03 KB
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
54
55
56
version: '3.8'
services:
db:
image: private.jlinux.ir/database/my-mysql:8.0
healthcheck:
test: ["CMD-SHELL", "mysqladmin ping -h localhost"]
interval: 30s
timeout: 10s
retries: 5
start_period: 30s
cap_add:
- SYS_NICE
networks:
- network
environment:
- "MYSQL_ROOT_PASSWORD=asd;flkjasd;lfkjas;dlkfj"
- "MYSQL_USER=javid"
- "MYSQL_PASSWORD=javid_9999"
- "MYSQL_DATABASE=recordings"
volumes:
- db_vol:/var/lib/mysql
env_file:
- .env
adminer:
image: public.jlinux.ir/utile/adminer:latest
container_name: adminer
ports:
- "8081:8080"
networks:
- network
web:
image: private.jlinux.ir/app/album:latest
ports:
- "8070:8070"
networks:
- network
volumes:
- ".env:/app/.env"
depends_on:
db:
condition: service_healthy
links:
- "db:database"
env_file:
- .env
networks:
network:
name: album_network
driver: bridge
volumes:
db_vol: