forked from smallwat3r/shhh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (31 loc) · 758 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (31 loc) · 758 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
# Describes the docker-compose configuration for development environments.
# These settings are not secure and are not intended for production use.
# Please override this configuration when configuring a production instance.
# This config launch Flask (gunicorn) / Postgres / Adminer
version: '3.2'
services:
db:
image: postgres:12.2-alpine
env_file:
- ./dockerenv/env.dev
volumes:
- ./postgres/init.sql:/docker-entrypoint-initdb.d/init.sql
- postgres:/data/postgres
ports:
- 5432:5432
app:
build: .
depends_on:
- db
env_file:
- ./dockerenv/env.dev
ports:
- 5000:5000
adminer:
image: adminer
depends_on:
- db
ports:
- 8080:8080
volumes:
postgres: