Skip to content
Snippets Groups Projects
Select Git revision
  • 30adfd238aa96ce3896d2bf42f6993b2fcc7fa3f
  • main default protected
  • readme_update
3 results

docker-compose.yml

Blame
  • user avatar
    Andreas Burbach authored
    8880b639
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    docker-compose.yml 412 B
    version: '3'
    
    services:
      the_social_network:
        container_name: the_social_network
        build: ./the_social_network
        restart: always
        command: sh -c "pipenv run python manage.py collectstatic --noinput && pipenv run uwsgi --socket=:9000 --module=the_social_network.wsgi:application --py-autoreload=1"
        volumes:
          - ./the_social_network:/code
        networks:
          - webnet
          
    networks:
      webnet: