* Docker Compose example updated

This commit is contained in:
Daniel Legt 2022-06-01 18:43:35 +03:00
parent 6a8f4f81e5
commit 0f5a352fc6
1 changed files with 3 additions and 3 deletions

View File

@ -3,13 +3,13 @@ version: '3'
services: services:
freepad: freepad:
# Uncomment the bellow to use the production docker image from the docker repository # Uncomment the bellow to use the production docker image from the docker repository
# image: image: justkato/freepad
# Comment the build line if you are just looking to use a docker-compose file # Comment the build line if you are just looking to use a docker-compose file
build: . # build: .
# I don't recommend changing the 8080 as there would be no reason to, # I don't recommend changing the 8080 as there would be no reason to,
# simply change the 3113 port to anything you would like for the container to listen on # simply change the 3113 port to anything you would like for the container to listen on
ports: ports:
- 3113:8080 - 8080:8080
# This will read from your .env variables, in that file you will find the documentation as well # This will read from your .env variables, in that file you will find the documentation as well
environment: environment:
- DOMAIN_BASE - DOMAIN_BASE