This repository was archived by the owner on Apr 29, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocal.yml
More file actions
68 lines (62 loc) · 1.23 KB
/
local.yml
File metadata and controls
68 lines (62 loc) · 1.23 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
57
58
59
60
61
62
63
64
65
66
67
68
version: '3.9'
services:
django:
build:
context: .
dockerfile: ./compose/local/django/Dockerfile
image: drb_local_django
container_name: drb_local_django
platform: linux/x86_64
depends_on:
- mariadb
- mailhog
- selenium
volumes:
- .:/app:z
env_file:
- .env
ports:
- "3000:3000"
command: /start
networks:
- djangoapp
mariadb:
container_name: drb_local_mariadb
image: 'mariadb:10.7'
ports:
- '3306:3306'
env_file:
- ./.envs/.local/.mariadb
volumes:
- 'localmariadb:/var/lib/mysql'
networks:
- djangoapp
mailhog:
container_name: drb_local_mailhog
restart: unless-stopped
restart: always
image: mailhog/mailhog
ports:
- 1025:1025
- 8025:8025
networks:
- djangoapp
selenium:
container_name: drb_local_selenium
image: 'selenium/standalone-chrome'
environment:
- SE_NODE_MAX_SESSIONS=1
- SE_NODE_OVERRIDE_MAX_SESSIONS=true
- START_XVFB=false
ports:
- '4444:4444'
volumes:
- '/dev/shm:/dev/shm'
networks:
- djangoapp
networks:
djangoapp:
driver: bridge
volumes:
localmariadb:
driver: local