add
This commit is contained in:
@@ -17,7 +17,7 @@ services:
|
||||
- ./sql:/docker-entrypoint-initdb.d
|
||||
- ./scripts:/scripts
|
||||
networks:
|
||||
- country-network
|
||||
- futures-trading-record-network
|
||||
country:
|
||||
image: golang:1.25.0-alpine3.22
|
||||
container_name: country_api
|
||||
@@ -27,7 +27,7 @@ services:
|
||||
depends_on:
|
||||
- postgres
|
||||
networks:
|
||||
- country-network
|
||||
- futures-trading-record-network
|
||||
environment:
|
||||
DB_HOST: postgres
|
||||
DB_PORT: ${DB_PORT}
|
||||
@@ -39,6 +39,6 @@ services:
|
||||
- ./src:/app
|
||||
command: sh -c "cd /app && go mod tidy && go run main.go"
|
||||
networks:
|
||||
country-network:
|
||||
futures-trading-record-network:
|
||||
driver: bridge
|
||||
volumes: {}
|
||||
|
||||
Reference in New Issue
Block a user