Initial commit
This commit is contained in:
25
docker-compose.yml
Normal file
25
docker-compose.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
mailsync:
|
||||
image: python:3
|
||||
volumes:
|
||||
- ./:/data
|
||||
- ./mailsync.py:/usr/src/mailsync.py
|
||||
command: python /usr/src/mailsync.py
|
||||
environment:
|
||||
- "USERNAME=changeme"
|
||||
- "PASSWORD=changeme"
|
||||
- "IMAP_SERVER=imap.example.com"
|
||||
- "SAVE_DIR=/data/htdocs"
|
||||
www:
|
||||
image: ericomeehan/gitweb:latest
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
depends_on:
|
||||
- mailsync
|
||||
volumes:
|
||||
- ./htdocs:/usr/local/apache2/htdocs/
|
||||
- ./conf/httpd.conf:/usr/local/apache2/conf/httpd.conf
|
||||
- ./conf/httpd-gitweb.conf:/usr/local/apache2/conf/extra/httpd-gitweb.conf
|
||||
- ./conf/gitweb.conf:/etc/gitweb.conf
|
||||
ports:
|
||||
- 8080:80
|
||||
Reference in New Issue
Block a user