dockercompose

Docker compose configuration
git clone git://git.laack.co/dockercompose.git
Log | Files | Refs

docker-compose.yml (2239B)


      1 services:
      2   web-server:
      3     image: nginx:latest
      4     container_name: web-server
      5     ports:
      6       - "80:80"
      7     volumes:
      8       - ../html:/usr/share/nginx/html
      9     restart: unless-stopped
     10 
     11   blog-server:
     12     image: nginx:latest
     13     container_name: blog-server
     14     ports:
     15       - "72:80"
     16     volumes:
     17       - /home/shared/blog/posts/site:/usr/share/nginx/html
     18     restart: unless-stopped
     19 
     20 #  gitea:
     21 #    image: docker.gitea.com/gitea:1.25.4
     22 #    container_name: gitea
     23 #    environment:
     24 #      - USER_UID=1000
     25 #      - USER_GID=1000
     26 #    restart: always
     27 #    volumes:
     28 #      - ../gitea:/data
     29 #    ports:
     30 #      - "3000:3000"
     31 #      - "222:22"
     32 
     33   git-server:
     34     image: nginx:latest
     35     container_name: git-server
     36     ports:
     37       - "90:80"
     38     volumes:
     39       - ../../git/site:/usr/share/nginx/html
     40     restart: unless-stopped
     41 
     42   git-repo-server:
     43     image: nginx:latest
     44     container_name: git-repo-server
     45     volumes:
     46       - /home/shared/git/public-repos:/usr/share/nginx/html
     47     restart: unless-stopped
     48     ports:
     49       - 8097:80
     50   #docs-server:
     51   #  image: nginx:latest
     52   #  container_name: docs-server
     53   #  ports:
     54   #    - "91:80"
     55   #  volumes:
     56   #    - ../docs:/usr/share/nginx/html
     57   #  restart: unless-stopped
     58   pihole:
     59     container_name: pihole
     60     image: pihole/pihole:latest
     61     ports:
     62       - "53:53/tcp"
     63       - "53:53/udp"
     64       - "180:80/tcp"
     65     environment:
     66       TZ: 'America/Chicago'
     67     volumes:
     68       - '../pihole-etc:/etc/pihole'
     69       - '../pihole-dnsmasq.d:/etc/dnsmasq.d'
     70     restart: unless-stopped
     71 
     72 #  searxng:
     73 #    container_name: searxng
     74 #    image: docker.io/searxng/searxng:latest
     75 #    restart: unless-stopped
     76 #    ports:
     77 #      - "8181:8080"
     78 #    volumes:
     79 #      - ../searx:/etc/searxng:rw
     80 #    environment:
     81 #      - SEARXNG_BASE_URL=https://searx.laack.co
     82 #      - UWSGI_WORKERS=4
     83 #      - UWSGI_THREADS=4
     84 #    cap_drop:
     85 #      - ALL
     86 #    cap_add:
     87 #      - CHOWN
     88 #      - SETGID
     89 #      - SETUID
     90 #    logging:
     91 #      driver: "json-file"
     92 #      options:
     93 #        max-size: "1m"
     94 #        max-file: "1"
     95 #  nextcloud:
     96 #    image: nextcloud:latest
     97 #    restart: always
     98 #    ports:
     99 #      - "8080:80"
    100 #    volumes:
    101 #      - ../nextcloud:/var/www/html
    102 #    environment:
    103 #      - NEXTCLOUD_DATA_DIR=/var/www/html/data