You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							36 lines
						
					
					
						
							743 B
						
					
					
				
			
		
		
	
	
							36 lines
						
					
					
						
							743 B
						
					
					
				version: "3"
 | 
						|
services:
 | 
						|
  db_recipes:
 | 
						|
    restart: always
 | 
						|
    image: postgres:11-alpine
 | 
						|
    volumes:
 | 
						|
      - ./postgresql:/var/lib/postgresql/data
 | 
						|
    env_file:
 | 
						|
      - ./.env
 | 
						|
 | 
						|
  web_recipes:
 | 
						|
    restart: always
 | 
						|
    image: vabene1111/recipes
 | 
						|
    env_file:
 | 
						|
      - ./.env
 | 
						|
    volumes:
 | 
						|
      - ./staticfiles:/opt/recipes/staticfiles
 | 
						|
      - ./nginx_config:/opt/recipes/nginx/conf.d
 | 
						|
      - ./mediafiles:/opt/recipes/mediafiles
 | 
						|
    depends_on:
 | 
						|
      - db_recipes
 | 
						|
 | 
						|
  nginx_recipes:
 | 
						|
    image: nginx:mainline-alpine
 | 
						|
    restart: always
 | 
						|
    ports:
 | 
						|
      - 8099:80
 | 
						|
    env_file:
 | 
						|
      - ./.env
 | 
						|
    depends_on:
 | 
						|
      - web_recipes
 | 
						|
    volumes:
 | 
						|
      - ./nginx_config:/etc/nginx/conf.d:ro
 | 
						|
      - ./staticfiles:/static:ro
 | 
						|
      - ./mediafiles:/media:ro
 |