Merge pull request '[ci skip] [docker] separate docker compose files for production & development' (#6) from dev into stable

Reviewed-on: https://git.clatter.cc/hexlocation/disseminate/pulls/6
This commit is contained in:
hexlocation 2024-06-09 18:31:07 +02:00
commit ab4ec218c7
2 changed files with 15 additions and 6 deletions

11
docker-compose.build.yml Normal file
View file

@ -0,0 +1,11 @@
services:
disseminate:
build:
context: .
args:
UID: 1000
GID: 1000
volumes:
- ./data:/app/data
ports:
- 3024:3024

View file

@ -1,11 +1,9 @@
version: '3'
services: services:
disseminate: disseminate:
build: container_name: disseminate
context: . image: git.clatter.cc/hexlocation/disseminate
args:
UID: 1000
GID: 1000
volumes: volumes:
- ./data:/app/data - ./data:/app/data # bind mount is recommended.
ports: ports:
- 3024:3024 - 3024:3024