This commit is contained in:
vipg
2025-11-14 15:13:14 +08:00
parent 4cdeb4b34f
commit f5ed709da3
14 changed files with 104 additions and 104 deletions

View File

@@ -1,7 +1,7 @@
services:
postgres:
image: postgres:17.4-alpine
container_name: country_db
container_name: futures_trading_record_db
restart: always
ports:
- 20011:5432
@@ -13,14 +13,14 @@ services:
POSTGRES_DB: ${DB_NAME}
TZ: ${TZ}
volumes:
- ./shared_data/country_db:/var/lib/postgresql/data
- ./shared_data/futures_trading_record_db:/var/lib/postgresql/data
- ./sql:/docker-entrypoint-initdb.d
- ./scripts:/scripts
networks:
- futures-trading-record-network
country:
futures_trading_record:
image: futures-trading-record-api:1.0.0
container_name: country_api
container_name: futures_trading_record_api
restart: always
ports:
- 20010:80