mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-15 15:11:55 +08:00
21 lines
427 B
YAML
21 lines
427 B
YAML
|
services:
|
||
|
golang:
|
||
|
image: golang:${GO_VERSION}
|
||
|
container_name: ${CONTAINER_NAME}
|
||
|
working_dir: /app
|
||
|
volumes:
|
||
|
- ${CODE_DIR}:/app
|
||
|
- ./run.sh:/run.sh
|
||
|
- ./.env:/.env
|
||
|
- ./mod:/go/pkg/mod
|
||
|
command: bash /run.sh
|
||
|
networks:
|
||
|
- 1panel-network
|
||
|
ports:
|
||
|
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${GO_APP_PORT}
|
||
|
restart: on-failure:5
|
||
|
|
||
|
networks:
|
||
|
1panel-network:
|
||
|
external: true
|