feat: some refactoring
This commit is contained in:
23
build/docker-compose.yml
Normal file
23
build/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
apiserver:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: build/Dockerfile
|
||||
container_name: mygoserver
|
||||
ports:
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
- ../configs:/root/configs:ro
|
||||
environment:
|
||||
- LOGGING_LEVEL=info
|
||||
- LOGGING_FORMAT=json
|
||||
- LOGGING_OUTPUT=stdout
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
networks:
|
||||
app-network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user