snf.wsring.net

Search

Items tagged with: image

hmmm i run friendica in docker (docker-compose)...
And this is my docker-compose.yml

maybe do you see a misconfiguration here...

version: '2'
# Testkommentar

services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql/
environment:
- MYSQL_ROOT_PASSWORD=xxxxxxxxxxxxx
env_file:
- db.env
- smtp.env
- friendica.env
networks:
- proxy-tier

app:
build: ./app
#image: friendica/server:fpm
restart: always
volumes:
- friendica:/var/www/html
- ./app/local.config.php:/var/www/html/config/local.config.php
environment:
- AUTOINSTALL=true
- MAILNAME=friendica.schuerz.at
- TZ=EUROPE/Vienna
- LANGUAGE=de
env_file:
- db.env
- smtp.env
- friendica.env
depends_on:
- db
networks:
- proxy-tier
- default
hostname: friendica.schuerz.at

web:
build: ./web
restart: always
volumes:
- friendica:/var/www/html:ro
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro
environment:
- VIRTUAL_HOST=friendica.schuerz.at
- LETSENCRYPT_HOST=friendica.schuerz.at
- LETSENCRYPT_EMAIL=xxx@yyy.zz
depends_on:
- app
env_file:
- db.env
- smtp.env
- friendica.env
networks:
- proxy-tier
- default

cron:
build: ./app
restart: always
volumes:
- friendica:/var/www/html:ro
- ./app/local.config.php:/var/www/html/config/local.config.php:ro
entrypoint: /cron.sh
env_file:
- db.env
- friendica.env
depends_on:
- db
- app
networks:
- proxy-tier
hostname: friendica.schuerz.at

proxy:
build: ./proxy
restart: always
ports:
- 80:80
- 443:443
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
- proxy-tier

letsencrypt-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
restart: always
volumes:
- certs:/etc/nginx/certs
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy-tier
depends_on:
- proxy

volumes:
db:
friendica:
certs:
vhost.d:
html:

networks:
proxy-tier:
default:
 
Later posts Earlier posts