-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (39 loc) · 1.17 KB
/
docker-compose.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
version: "2.3"
services:
web:
container_name: bpe-be-ctn-dev
image: python:3.11-slim
volumes:
- ./:/python/src/bpe
ports:
- "8000:8000"
working_dir: /python/src/bpe
# command: sh -c "pip install -r ./requirements.txt && python run.py"
# depends_on:
# - db
restart: unless-stopped
tty: true
# db:
# container_name: bpsky-db-ctn-dev
# image: postgres:15.1-alpine
# restart: unless-stopped
# environment:
# # POSTGRES_DB: ${POSTGRES_DB}
# # POSTGRES_USER: ${POSTGRES_USER}
# # POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
# # PGDATA: ${PGDATA}
# DATABASE_URL: 'postgres://iamlvv:[email protected]/neondb'
# POSTGRES_USER: 'iamlvv'
# POSTGRES_PASSWORD: 'wqpkoc6bW9YI'
# POSTGRES_DB: 'neondb'
# PGDATA: '/data/postgres'
# ports:
# - '5432:5432'
# volumes:
# - postgres:/var/lib/postgresql/data
# - ./database/init.sql:/docker-entrypoint-initdb.d/init.sql
# - ./database/load_data.sql:/docker-entrypoint-initdb.d/load_data.sql
volumes:
postgres:
name: postgres-dev
driver: local