-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
52 lines (51 loc) · 1.1 KB
/
docker-compose.dev.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
version: "3.8"
services:
db:
image: postgres
restart: always
volumes:
- ./postgresdata:/var/lib/postgresql/data
env_file: .env.dev
webapp:
build: alpine_python_psycopg2
ports:
- 8000:8000
depends_on:
- db
volumes:
- ./webapp:/code
env_file: .env.dev
entrypoint: /bin/sh ./docker-entrypoint.sh
arduino_comm:
build: alpine_python_psycopg2
depends_on:
- db
volumes:
- ./arduino_comm:/code
env_file: .env.dev
entrypoint: watchmedo auto-restart --recursive --pattern="*.py" --directory="." python run_arduino_comm.py
webapp_tests:
build: alpine_python_psycopg2
depends_on:
- db
volumes:
- ./webapp:/code
env_file: .env.dev
entrypoint: pytest
arduino_comm_tests:
build: alpine_python_psycopg2
depends_on:
- db
volumes:
- ./arduino_comm:/code
env_file: .env.dev
entrypoint: pytest
pgadmin:
image: truecharts/pgadmin4:6.16.0
ports:
- 15432:80
depends_on:
- db
env_file: .env.dev
volumes:
- ./pgadmin:/var/lib/pgadmin