use Dockerfile.apache by default

In docker-compose, using a symlink from ./Dockerfile
to contrib/docker/Dockerfile.apache does not work. Therefore the symlink
is deleted and the docker-compose.yml is instructed to use the file
Dockerfile.apache in contrib by default.
pull/1806/head
Sven Fischer 2019-11-01 18:59:13 +01:00
rodzic d7455b8f95
commit 8de7de4588
2 zmienionych plików z 8 dodań i 3 usunięć

Wyświetl plik

@ -1 +0,0 @@
contrib/docker/Dockerfile.apache

Wyświetl plik

@ -14,7 +14,10 @@ services:
app:
# Comment to use dockerhub image
build: .
build:
context: .
dockerfile: contrib/docker/Dockerfile.apache
#dockerfile: contrib/docker/Dockerfile.fpm
image: pixelfed
restart: unless-stopped
## If you have a traefik running, uncomment this to expose Pixelfed
@ -36,7 +39,10 @@ services:
worker: # Comment this whole block if HORIZON_EMBED is true.
# Comment to use dockerhub image
build: .
build:
context: .
dockerfile: contrib/docker/Dockerfile.apache
#dockerfile: contrib/docker/Dockerfile.fpm
image: pixelfed
restart: unless-stopped
env_file: