-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevelopment.yml
More file actions
56 lines (50 loc) · 1.07 KB
/
development.yml
File metadata and controls
56 lines (50 loc) · 1.07 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.6'
services:
api:
build:
context: ./rentalapi
target: development
depends_on:
- db
links:
- db
ports:
- '8098:8000'
volumes:
- ./rentalapi:/rentalapi
env_file: conf/dev.env
command: [ 'sh', '/tmp/wait-for.sh', 'db:5432', '-t', '30', '--', 'flask', 'run', '--host=0.0.0.0', '--port=8000']
db:
image: postgres:alpine
container_name: rentaldb
env_file: conf/dev.env
volumes:
- db_volume:/var/lib/postgresql
frontend:
build:
context: ./rentalapp
target: development
depends_on:
- api
ports:
- '8097:8080'
volumes:
- ./rentalapp:/rentalapp
- node_modules:/rentalapp/node_modules
# cache:
# image: redis:alpine
# container_name: rentalredis
# volumes:
# - cache_volume:/data
# - ./conf/redis.conf:/usr/local/etc/redis/redis.conf
# pgadmin:
# image: dpage/pgadmin4:5.4
# env_file: conf/dev.env
# links:
# - db
# ports:
# - '8100:80'
volumes:
db_volume:
cache_volume:
node_modules: