Create docker-compose.yml

docker-compose.yml that works for me. Note the environment variables.
This commit is contained in:
MaartenSanders 2022-05-04 19:24:21 +02:00 committed by GitHub
parent d68ba4d168
commit 1d5f929db2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
docker-compose.yml Normal file
View File

@ -0,0 +1,25 @@
version: '3.3'
volumes:
stations:
networks:
npm-nc_frontend:
external: true
services:
ycast-docker:
container_name: ycast
environment:
- YC_STATIONS=/opt/ycast/stations/stations.yml
- YC_DEBUG=ON
- TZ=Europe/Amsterdam
- 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
- YC_VERSION=master
- YC_PORT=80
volumes:
- stations:/opt/ycast/stations
restart: always
image: 'netraams/ycast-docker:v20'
networks:
- npm-nc_frontend