19 lignes
501 o
YAML
19 lignes
501 o
YAML
version: '3'
|
|
services:
|
|
pantsu:
|
|
build:
|
|
context: ..
|
|
dockerfile: deploy/Dockerfile
|
|
command: ./deploy/init.sh
|
|
env_file:
|
|
- sqlite.env
|
|
environment:
|
|
- PANTSU_INTERNAL_PORT=${PANTSU_INTERNAL_PORT}
|
|
ports:
|
|
# 0.0.0.0 makes it accessible to the network
|
|
# You may want to remove it to make pantsu available only
|
|
# to localhost
|
|
- 0.0.0.0:${PANTSU_EXTERNAL_PORT}:${PANTSU_INTERNAL_PORT}
|
|
volumes:
|
|
- "${GOPATH}:/go/"
|
|
- "./..:/nyaa"
|