45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
#w0bm legacy deployment
|
|
services:
|
|
w0bm:
|
|
user: 1000:1000
|
|
container_name: w0bm
|
|
image: w0bm:f-1
|
|
# hostname: "w0bm.lokal"
|
|
build:
|
|
dockerfile: Dockerfile
|
|
depends_on:
|
|
- mariadb
|
|
networks:
|
|
- w0bm
|
|
# For later
|
|
volumes:
|
|
- ./w0bm-data/logs/:/home/w0bm/application/w0bm/storage/logs/
|
|
- ./w0bm-data/b/:/home/w0bm/application/w0bm/public/b/
|
|
- ./w0bm-data/thumbs/:/home/w0bm/application/w0bm/public/thumbs/
|
|
- ./w0bm-data/thumbs/beta/:/home/w0bm/application/w0bm/public/thumbs/beta/
|
|
- ./w0bm-data/thumbs/beta/blurred:/home/w0bm/application/w0bm/public/thumbs/beta/blurred/
|
|
- ./w0bm-data/images/:/home/w0bm/application/w0bm/public/image/
|
|
ports:
|
|
- "8000:8000"
|
|
restart: on-failure
|
|
mariadb:
|
|
image: mariadb:latest
|
|
container_name: w0bm-db
|
|
environment:
|
|
MARIADB_ROOT_PASSWORD: root
|
|
MARIADB_DATABASE: w0bm
|
|
MARIADB_USER: w0bm
|
|
MARIADB_PASSWORD: w0bm
|
|
ports:
|
|
- "3307:3306"
|
|
networks:
|
|
- w0bm
|
|
volumes:
|
|
- ./w0bm-db:/var/lib/mysql
|
|
networks:
|
|
w0bm:
|
|
driver: bridge
|
|
|
|
volumes:
|
|
w0bm:
|
|
w0bm-db: |