Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
docker-compose.prod.yml 566 B
version: '3'

services:
  app:
    volumes: # remember to replace /folder_on_disk/ with the path to where you want to store the files on the host machine
      - "ftpdata:/home/xpub/ftpdata/"
    environment:
      NODE_ENV: production   
      PORT: "80"
    env_file:
      - .env.prod
    expose:
      - "80"

  postgres:
    ports:
      - "5432:5432"

  ftpd_server:
    volumes: # remember to replace /folder_on_disk/ with the path to where you want to store the files on the host machine
      - "ftpdata:/home/ftpusers/"
      - "~/pure-ftp:/etc/pure-ftpd"